<!DOCTYPE html>
<html style="height:auto; min-height: 100%;">
<head>
    <meta charset="utf-8" />
    <title>Jeedcp开发平台</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <link href="https://devtools.diboot.com/cdn/v1/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="https://devtools.diboot.com/cdn/v1/toastr.min.css" rel="stylesheet" type="text/css" />
    <link href="https://devtools.diboot.com/cdn/v1/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css"  href="/jeedcp-api/static/index.css"  />
</head>
<body>
<div id="main" style="overflow-x: hidden">
    <div class="header-box">
        <h3>生成初始项目</h3>
    </div>
    <form class="form-horizontal" id="form">
        <div class="row">
            <div class="col-md-10 col-md-offset-1">
                <h4 class="group-title"><span class="font-red">*</span>项目配置：</h4>
                <hr />
            </div>
        </div>
        <div class="form-group">
            <label for="GroupName" class="control-label col-md-2">Group:</label>
            <div class="col-md-3">
                <input v-model="config.projectSetting.group" type="text" class="form-control" id="groupName" value="com.example" placeholder="com.example" />
            </div>
            <label for="ProjectName" class="control-label col-md-2">Project:</label>
            <div class="col-md-3">
                <input v-model="config.projectSetting.projectName" type="text" class="form-control" id="projectName" value="demo" placeholder="demo" />
            </div>
        </div>
        <div class="form-group">
            <label for="author" class="control-label col-md-2">author:</label>
            <div class="col-md-3">
                <input v-model="config.projectSetting.author" type="text" class="form-control" id="author" value="author" placeholder="author" />
            </div>
            <label for="copyright" class="control-label col-md-2">Copyright:</label>
            <div class="col-md-3">
                <input v-model="config.projectSetting.copyright" type="text" class="form-control" id="copyright" value="www.jeedcp.com" placeholder="www.jeedcp.com" />
            </div>
        </div>
        <div class="row">
            <div class="col-md-10 col-md-offset-1">
                <h4 class="group-title">数据库连接信息：</h4>
                <hr />
            </div>
        </div>
        <div class="form-group">
            <label for="datasourceurl" class="control-label col-md-2">地址：</label>
            <div class="col-md-3">
                <input v-model="config.projectSetting.datasourceUrl" id="datasourceUrl" type="text" class="form-control" value="127.0.0.1" placeholder="127.0.0.1" />
            </div>
            <label for="datasourcePort" class="control-label col-md-2">端口：</label>
            <div class="col-md-3">
                <input v-model="config.projectSetting.datasourcePort" id="datasourcePort" type="text" class="form-control"value="3306" placeholder="3306" />
            </div>
        </div>
        <div class="form-group">
            <label for="datasourceUsername" class="control-label col-md-2">数据库用户名：</label>
            <div class="col-md-3">
                <input v-model="config.projectSetting.datasourceUsername" id="datasourceUsername" type="text" class="form-control"  value="root" placeholder="数据库用户名" />
            </div>

            <label for="datasourcePwd" class="control-label col-md-2">数据库密码：</label>
            <div class="col-md-3">
                <input v-model="config.projectSetting.datasourcePwd" id="datasourcePwd" type="text" class="form-control" value="123456" placeholder="数据库密码" />
            </div>
        </div>

        <div class="form-group">
            <label for="datasourceTable" class="control-label col-md-2">数据库：</label>
            <div class="col-md-3">
                <input v-model="config.projectSetting.datasourceTable" id="datasourceTable" type="text" class="form-control" value="iboard" placeholder="数据库名" />
            </div>
        </div>

    <#--<div class="form-group">-->
    <#--<div class="col-md-3 col-md-offset-1 form-group-first">-->
    <#--<div class="checkbox children-space-split">-->
    <#--<label for="file"><input type="checkbox" disabled="" id="file" value="file" v-model="config.components.file" />文件处理组件</label>-->
    <#--<label for="msg"><input type="checkbox" disabled="" id="msg" value="msg" v-model="config.components.msg" />消息通知组件</label>-->
    <#--</div>-->
    <#--</div>-->
    <#--</div>-->
    <#--<div class="row">-->
    <#--<div class="col-md-10 col-md-offset-1">-->
    <#--<h4 class="group-title">开发工具：</h4>-->
    <#--<hr />-->
    <#--</div>-->
    <#--</div>-->
    <#--<div class="form-group">-->
    <#--<div class="col-md-3 col-md-offset-1 form-group-first">-->
    <#--<div class="checkbox children-space-split">-->
    <#--<label for="devTools"><input type="checkbox" id="devTools" value="devTools" v-model="config.enableDevtools" />启用Devtools开发助理</label>-->
    <#--</div>-->
    <#--</div>-->
    <#--</div>-->

        <div class="form-group">
            <p><button type="button" class="btn btn-primary" id="btnGenera" >生成项目</button></p>
        </div>
    </form>
</div>
<script type="text/javascript" src="https://devtools.diboot.com/cdn/v1/jquery.min.js"></script>
<script type="text/javascript" src="https://devtools.diboot.com/cdn/v1/bootstrap.min.js"></script>
<script type="text/javascript" src="https://devtools.diboot.com/cdn/v1/toastr.min.js"></script>
<script type="text/javascript" src="https://devtools.diboot.com/cdn/v1/vue.min.js"></script>
<script type="text/javascript" src="/jeedcp-api/static/index.js" ></script>
</body>
</html>